#include "unp.h"

#define OFF 0
#define ON 1

int debugStat = OFF;
int loginStat = OFF;

void
clientRequest(char *buf){

	char	bufcpy[MAXLINE];
	char	*comm;
		
	memset(bufcpy, 0x00, sizeof(req));
	strcpy(bufcpy, buf);
	
	if(strcmp(bufcpy[0], ".")){
		comm = strtok(bufcpy, " ");
		if(strcmp(comm, ".user"))
			userCommand(buf);
		else if(strcmp(comm, ".list"))
			listCommand();
		else if(strcmp(comm, ".debug"))
			debugCommand();
		else if(strcmp(comm, ".quit"))
			quitCommand();
		else if(strcmp(comm, ".bingo"))
			bingoCommand();
		else if(strcmp(comm, ".mix"))
			mixCommand();
		else
			printf("Illegal command");
	}
}

void userCommand(char *buf){
	
}



